home *** CD-ROM | disk | FTP | other *** search
- Path: haapa.oulu.fi!not-for-mail
- From: tikarjal@haapa.oulu.fi (Timo Karjalainen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Exec Semaphores
- Date: 23 Jan 1996 11:03:32 GMT
- Organization: University of Oulu, Computer Services Center
- Message-ID: <4e2fa4$1m4@ousrvr3.oulu.fi>
- References: <390.6583T950T852@wonder.ca>
- NNTP-Posting-Host: haapa.oulu.fi
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- paulf (paulf@wonder.ca) wrote:
- : Does anyone know how the OS semaphores handle the following
- : situation:
- :
- : Lock Shared from Task 1.
- : Lock Exclusive From Task 2.
- : Lock Shared from Task 3.
- : Unlock from Task 1.
- : ...
- :
- : Will the OS let Task 3 into it's critical section straight away,
- : or will it stop it from entering until the exclusive lock from
- : Task 2 is serviced? The autodocs don't mention what would happen
- : in a case like this.
- :
-